package org.idea.ietty.action.rpc;

/**
 * @Author idea
 * @Date created in 11:38 下午 2020/5/13
 */
public class ClientDemo {


    public static void main(String[] args) throws Exception {
        RpcClient rpcClient = new RpcClient();
        IUserService iUserService = rpcClient.refer(IUserService.class,"localhost",9090);
        iUserService.test();

    }
}
